<template>
    <!-- 模态框容器 -->
    <div
        v-if="isVisible"
        class="modal-container">
        <!-- 背景遮罩层 -->
        <div
            class="modal-overlay"
            @click="closeModal"></div>

        <!-- 关闭按钮 - 独立于内容层，确保始终悬浮在顶部 -->
        <button
            class="modal-close"
            @click="closeModal">
            <img
                src="/newHome/body/icon_close.png"
                alt="Close"
                class="close-icon" />
        </button>

        <!-- 模态框内容 -->
        <div class="modal-wrapper">
            <div
                class="modal-content"
                @click.stop>
                <!-- 模态框标题 -->
                <div class="modal-header">
                    <h2 class="modal-title">{{ currentCard.title }}</h2>
                </div>

                <!-- 模态框内容 -->
                <div class="modal-body">
                    <div class="content-sections">
                        <div
                            v-for="(section, index) in currentCard.sections"
                            :key="index"
                            class="content-section">
                            <div class="section-header">
                                <h3 class="section-title">{{ section.title }}</h3>
                            </div>
                            <div class="section-content">
                                <p class="section-text">{{ section.content }}</p>
                            </div>
                            <div
                                v-if="section.table"
                                class="section-table">
                                <DataTable
                                    :headers="section.table.simpleHeaders"
                                    :data="section.table.simpleData" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script lang="ts" setup>
    import { ref, computed, watch, onUnmounted } from 'vue';

    interface CardSection {
        title: string;
        content: string;
    }

    interface CardData {
        title: string;
        sections: CardSection[];
    }

    const props = defineProps<{
        isVisible: boolean;
        cardType: string;
    }>();

    const emit = defineEmits<{
        close: [];
    }>();

    // 卡片数据配置
    const cardDataMap: Record<string, CardData> = {
        'card-1': {
            title: 'Female Demographic Size and Potential',
            sections: [
                {
                    title: 'Population size and structure',
                    content: `Women have always been an important part of the global population. As of 2024, the global female population is approximately 4.048 billion, accounting for 49.7% of the total population, nearly equal to men. In the next 10 years, the female population is expected to steadily increase to 4.3 billion, maintaining a long-term size advantage
More importantly, over 2 billion women globally are active internet users, meaning they already possess the basic conditions to enter the digital economy and Web3 world. Especially in emerging markets, the internet penetration rate and social media participation rate of young women are rising rapidly, bringing huge potential for future digital transformation`,
                },
                {
                    title: 'Economic and Consumption Potential',
                    content: `Women are not just half the population in size but also a key engine for economic growth. Currently, women contribute approximately 37% of global GDP and control over 70% of consumer spending decisions. Estimates suggest women's global annual spending power exceeds $20 trillion, with the majority concentrated in education, healthcare, family, lifestyle, and emotion-related expenses

                    In the next five years, women are expected to control 75% of discretionary spending. This trend implies that if FAWA can establish a female - centered digital economic ecosystem, it will enjoy a unique advantage in the growth of consumption and investment
                    `,
                },
                {
                    title: 'Digital Economic Potential',
                    content: `Although currently, the proportion of women's participation in the digital world is less than 30%, their investment and usage behaviors exhibit characteristics different from those of men

                    Women are more inclined to hold digital assets for the long-term rather than engage in frequent trading

                    Women place greater emphasis on security and stability when using digital financial products

                    Women pay more attention to social connections, emotional value, and identity recognition, and these needs highly coincide with the application scenarios of Web3

                    As new applications in digital identity, asset management, health, and education continue to expand, the potential value of women in the digital economy will be further unleashed. By 2030, women's consumption and investment scale in the digital economy is expected to exceed $50 trillion
                    `,
                },
                {
                    title: 'Future Outlook',
                    content: `The global female population is emerging as a core force driving social and economic transformation

                    In the field of education, the enrollment rate of women in higher education has exceeded that of men, providing a human - capital foundation for their entry into medium - to - high - skill digital positions

                    In the field of entrepreneurship, the number of female entrepreneurs has been on the rise, and female - led enterprises place more emphasis on community, users, and long - term value

                    In the field of social culture, women's social influence and cross - boundary integration capabilities enable them to play a leading role more easily in Web3 community governance and digital identity ecosystems
                    `,
                },

                {
                    title: 'The mission of FAWA is to convert this vast potential into on - chain assets and global consensus, enabling women to be not just participants in digital society but leaders in value creation and civilizational reconstruction',
                },
            ],
        },
        'card-2': {
            title: 'The Bridge Between Web2/3 Digital Civilizations',
            sections: [
                {
                    title: 'Web2 and Web3: The Bridge of Digital Civilization',
                    content: `The development of the Internet has never been fragmented; instead, it is a continuous process of iteration and mutual learning. Web2 represents large - scale applications and user connections, while Web3 carries the vision of decentralization and value circulation. They are not opposed to each other but rather different layers of digital civilization. Only by complementing each other can they jointly build a global ecosystem for the future`,
                },
                {
                    title: 'The Value and Legacy of Web2',
                    content: `Web2 provides billions of global users with familiar interaction methods and low-threshold digital entry points

It has established vast social networks, payment systems, and content ecosystems, shaping today's digital lifestyle

However, centralized structures have led to data monopolies, lack of user privacy, and uneven distribution of benefits`,
                },
                {
                    title: 'The Innovation and Challenge of Web3',
                    content: `Web3 emphasizes decentralization, giving users real control over their data, identity, and assets

It enables value to flow freely like information, providing possibilities for community autonomy, RWA on-chain, and new economic models

However, at the same time, complex operation thresholds, ecological fragmentation, and regulatory uncertainties have restricted its large-scale adoption`,
                },
                {
                    title: 'The Significance of the Bridge',
                    content: `FAWA believes a bridge of value and experience is needed between Web2 and Web3

Leverage the user experience advantages of Web2 to lower the barrier for ordinary female users to enter Web3

By adopting the decentralized logic of Web3, it can solve the privacy, equality and value distribution issues left over from Web2

At both ends of the bridge, create a new digital - civilization pattern that can not only accommodate billions of users but also unleash on - chain value`,
                },
                {
                    title: "FAWA's Positioning",
                    content: `As a globalization platform for women's civilization, FAWA positions itself as the builder of this bridge

Based on Wocute, it enables the familiar social and consumption experiences to connect with Web2 users

With blockchain technology as an upgrade, it expands the value space of decentralized governance and asset management in Web3

Enable female users to find a balance between "ease of use" and "autonomy," allowing them to participate in socializing, consumption, and creation while truly enjoying the rights to their data and assets

FAWA will use Muslim women as a model for Web2→Web3 integration piloting, based not only on market judgment regarding demographics and growth but also on replicable exploration across three paths: "cultural rights confirmation + assetization + community governance

If the model is successfully validated within this group, it can be replicated to other female groups with strong cultural identities (such as traditional craftsmanship women's communities, regional cultural groups, etc.), thereby promoting a "digital civilization movement" for women globally, achieving fair distribution of cultural proceeds/benefits and long-term sustainable growth, ultimately building the global women's digital cultural ecosystem platform
`,
                },
                {
                    title: 'Conclusion',
                    content: `Web2 and Web3 are not two isolated worlds but two stages in the evolution of digital civilization. What FAWA aims to do is connect them, allowing women worldwide to gradually move towards a more autonomous, fair, and open future within a familiar digital environment`,
                },
            ],
        },
        'card-3': {
            title: 'Future Trends and Demand Insights',
            sections: [
                {
                    title: 'Global Digitization and the Evolving Role of Women',
                    content: `In the next decade, the global digitalization process will accelerate comprehensively. By 2030, the global digital economy is expected to exceed $30 trillion in scale, accounting for more than 50% of the global GDP. Women will play an increasingly important role in this process

                    The educational level of women continues to rise, and their proportion in higher education and knowledge - based industries has already surpassed that of men

                    Female internet penetration rates are constantly increasing, particularly in emerging markets where women are the main incremental users of mobile internet

                    Globally, women's decision-making influence over society, economy, and household consumption will further strengthen

                    This trend signifies that women are no longer just consumers of the digital economy but creators, governors, and investors
                    `,
                },
                {
                    title: 'Digital Transformation of Consumption and Financial Needs',
                    content: `With the change in social structure, women's needs in the consumption and financial fields exhibit the following characteristics

                    Consumption Upgrade: Women's investment in areas like education, health, aesthetics, tourism, and elderly care is continuously increasing, driving the rapid growth of the "women's economy"

                    Financial Autonomy: More and more women seek independent asset management channels, desiring higher security, transparency, and long-term value return in their investments

                    Wealth Inheritance: As the group of high-net-worth women grows, the demand for wealth management and intergenerational inheritance is rising

                    These needs highly align with Web3's asset digitization, RWA tokenization, and decentralized finance (DeFi), providing a natural scenario for combining the women's economy with blockchain technology
                    `,
                },
                {
                    title: 'Core Needs of Women in Digital Society',
                    content: `Based on the current industry pain points and the characteristics of the female group, the core needs of women in the digital society in the future can be summarized as follows

                    Security: Higher requirements for privacy protection, asset security, and community environment

                    Belongingness: Desire to be seen, respected, and gain emotional value within the community

                    Value: Not only as consumers, but also hoping to become creators and sharers of value

                    Fairness: They expect to have equal opportunities with men in governance, earnings, and access to capital

                    FAWA will build a women-friendly Web3 product matrix and ecosystem around these four core needs
                    `,
                },
                {
                    title: `Convergence Trends of Web3 and Women's Needs`,
                    content: `Social Scenarios: Future Web3 platforms will not only be financial tools but also carriers for emotional exchange and digital identity, meeting women's social and self-expression needs

                    Digital IP and Assets: Female creators will gain new ways to monetize value through NFTs, digital IP, and on-chain identity

                    RWA and investment: By converting RWA assets of industries related to women (such as education, healthcare, elderly care, and cultural creation) into digital assets, women can directly participate and share the growth dividends of the industry

                    DAO Governance: Women will gradually move towards the center of community governance and ecological decision-making, becoming core forces driving the development of digital civilization
                    `,
                },
                {
                    title: `Summary`,
                    content: `Future trends indicate that the needs of women in consumption, investment, social interaction, and governance are deeply integrating with the development path of Web3

                    FAWA's mission is to seize this historic opportunity, transforming women's potential into on-chain assets, community consensus, and global value, enabling women to be not just participants in digital civilization but leaders of the future world
                    `,
                },
            ],
        },

        'core-value-1': {
            title: 'Women Empowerment Value',
            sections: [
                {
                    title: 'Digital Identity and Voice:',
                    content: `In the traditional finance and Web2 world, women often participate passively, lacking independent identity and governance rights. FAWA enables women to truly possess the "right to be seen and heard" within the ecosystem through on-chain digital identity, DAO voting mechanisms, and incentive models`,
                },
                {
                    title: 'Economic Participation and Profit - sharing Rights',
                    content: `According to McKinsey Global Institute research, if global women achieved parity in labor participation with men, it could add $28 trillion to global GDP by 2025. FAWA transforms women's daily participation, consumption, creation, and investment into sustainable financial returns through token incentives and asset digitization`,
                },
                {
                    title: 'Social Influence',
                    content: `Women naturally possess strong community cohesion and consumption leadership. Data shows women control over 70% of global consumer spending decisions. FAWA converts this potential into a core driving force in the Web3 world`,
                },
            ],
        },

        'core-value-2': {
            title: 'Ecological Synergy Value',
            sections: [
                {
                    title: 'Collaboration of Five Modules',
                    content: `The FAWA platform integrates social & community, digital IP development, business ecosystem, asset management, and Depin infrastructure, forming a full-chain ecological closed loop. Users are not just consumers but value creators and disseminators`,
                },
                {
                    title: 'Identity Equals Equity, Participation Equals Earnings',
                    content:
                        'On FAWA, every social interaction, community governance action, and asset usage can be solidified as on-chain assets, tightly binding user identity and asset rights. Whether content creators, brand consumers, or DAO(Decentralized Autonomous Organization)  participants, all can receive tangible rewards within the platform',
                },
                {
                    title: 'Multi-Scenario Application',
                    content:
                        'FAWA will collaborate with globally renowned brands, social communities, education, healthcare, tourism, cultural creation, and other sectors to build rich RWA (Real World Asset) + Web3 application scenarios, forming a cross-industry value network',
                },
            ],
        },

        'core-value-3': {
            title: 'Global Strategic Value',
            sections: [
                {
                    title: 'Compliance Foundation',
                    content: `FAWA has established independent operating entities in the Middle East and enables compliant fund operations through a Singapore - based fund company. This dual compliance structure ensures the platform's capability to enter global markets and connect with capital`,
                },
                {
                    title: 'International Expansion',
                    content:
                        'FAWA will start from the Middle East and gradually enter Southeast Asian, European, and North American markets, focusing on addressing the digital needs of over 2 billion female users worldwide',
                },
                {
                    title: 'Connection with Capital Market',
                    content:
                        "The ultimate goal is to facilitate FAWA's entry into the US capital market, achieving Token-Equity Synergy. This signifies not only a leap in the platform's own value but also a historic step in bringing the women's economy to the global financial stage",
                },
            ],
        },

        'core-value-4': {
            title: 'Technological and Financial Innovation Value',
            sections: [
                {
                    title: 'Depin Infrastructure',
                    content: `Through a decentralized hardware network, node computing power, and public chain deployment, FAWA provides users with secure and efficient technological infrastructure`,
                },
                {
                    title: 'Token Economics',
                    content:
                        'The FAWA Token is not only a platform payment and incentive tool but also possesses attributes of a "public chain token," serving as the value chain and circulation core of the entire ecosystem',
                },
                {
                    title: 'Asset Digitization',
                    content:
                        ' FAWA will promote the digitization and tokenization of RWA in women-related industries (such as education, healthcare, consumption, cultural creation, elderly care, etc.), enabling real-world assets to flow freely on-chain and appreciate',
                },
            ],
        },

        'core-value-5': {
            title: 'Social and Cultural Value',
            sections: [
                {
                    title: 'Diversity and Inclusion',
                    content: `FAWA will eventually become a digital community for women globally, supporting free exchange among female users of different cultures, beliefs, and backgrounds`,
                },
                {
                    title: 'Emotional and Spiritual Connection',
                    content:
                        "It is not just a financial and social platform but also a spiritual home bearing women's dreams, courage, and tenderness",
                },
                {
                    title: 'Long-Term Social Impact',
                    content:
                        "FAWA's vision extends beyond commercial success to promoting comprehensive global progress in gender equality, participation in the digital economy, and cultural consensus",
                },
                {
                    title: "FAWA's core value lies in",
                    content:
                        'It is not a singular social platform, nor a singular blockchain project, but a women-led, globally-oriented digital civilization testing ground, where every dream and strength can leave its mark on the chain',
                },
            ],
        },

        'development-1': {
            title: 'Compliance - Oriented Development Path',
            sections: [
                {
                    title: 'Middle East as Core Hub',
                    content: `The Middle East itself is a confluence point with global capital markets, boasting friendly digital asset policies and a multicultural environment. FAWA's choice to establish an independent operating entity in the Middle East is not only strategic but also symbolic of compliance and openness`,
                },
                {
                    title: 'Singapore-based fund company',
                    content:
                        'As a globally renowned financial center, Singapore has stringent compliance requirements for fund management, cross-border investment/financing, and asset custody. FAWA ensures its fund operations and capital entry paths meet international regulatory standards through a licensed Singaporean fund company',
                },
                {
                    title: 'Compliance Expansion in Multiple Regions',
                    content:
                        'In the future, FAWA will establish compliance nodes in key regions such as Europe, North America, and Southeast Asia, creating localized market expansion and regulatory adaptation mechanisms to provide a solid foundation for the expansion of its ecosystem',
                },
            ],
        },

        'development-2': {
            title: "Global Women's Market Expansion",
            sections: [
                {
                    title: 'Potential Market Size',
                    content: ` The global female population exceeds 4 billion, with over 2 billion already being active internet users, constituting the world's most potential user group`,
                },
                {
                    title: "Women's Purchasing Power",
                    content:
                        "Data indicates women control over 70% of global consumer spending decisions and contribute over 60% of global retail sales. FAWA's goal is to combine this purchasing power with Web3 technology, transforming it into a new value growth points",
                },
                {
                    title: 'Regional Development Strategy',
                    content: `Middle East and North Africa (MENA): Undergoing socio-economic transformation, with rising female consumption and entrepreneurial power

                        Southeast Asia: High mobile internet penetration, with young female demographics showing extremely high acceptance of digital finance and social products

                        European and American Markets: Although female participation in Web3 is insufficient, their strong purchasing power and capital market influence make them key breakthrough points for FAWA's globalization`,
                },
            ],
        },

        'development-3': {
            title: 'Token-Equity Synergy',
            sections: [
                {
                    title: 'Token-Equity Linkage',
                    content: `FAWA's long-term strategic goal is to list the platform on the US capital market, achieving a dual value closed loop for Token and equity`,
                },
                {
                    title: `Global Investor Participation`,
                    content: `Through its compliant structure, FAWA will attract global investment institutions, fund companies, family offices, and social capital to participate, jointly promoting the recognition and influence of the women's economy in capital markets`,
                },
                {
                    title: `Long-Term Value Creation`,
                    content: `FAWA not only aims to become a listed company, but also to become a representative enterprise for the entry of the female economy and humanistic values into the global capital narrative`,
                },
            ],
        },

        'development-4': {
            title: 'Technology and Ecological Expansion',
            sections: [
                {
                    title: 'Cross-Chain and Multi-Chain Deployment',
                    content: `FAWA will utilize cross-chain technology and multi-chain compatibility to break down barriers between different blockchain ecosystems, providing a seamless integrated experience for global users`,
                },
                {
                    title: 'Globalization of Depin Infrastructure',
                    content: `Deploying nodes, wallets, and computing power facilities in different countries and regions to form a decentralized infrastructure network, ensuring the security, compliance, and stability of the ecosystem`,
                },
                {
                    title: `Diverse Application Scenarios`,
                    content: `Through digital IP, RWA asset management, female social communities, and brand globalization services, create diversified real-world application scenarios, propelling FAWA to become a true global hub for the women's digital economy`,
                },
            ],
        },

        'development-5': {
            title: 'Social and Cultural Impact',
            sections: [
                {
                    title: 'Promote Gender Equality',
                    content: `FAWA's global expansion is not just an economic strategy but also a crucial move to advance global society in terms of gender equality, economic participation, and digital rights.`,
                },
                {
                    title: `Cultural Diversity`,
                    content: `The platform will embrace female groups from different regions and cultures, respecting their values, customs, and lifestyles, making FAWA a cross-cultural digital home for women.`,
                },
                {
                    title: `Long-Term Influence`,
                    content: `FAWA hopes to transform the power of women into an important pillar of global digital civilization through Web3 technology, promoting human society towards a more open, equal and win-win future.`,
                },
                {
                    title: `FAWA's global development goals are not merely about market expansion but represent a reconstruction of digital civilization centered around women.`,
                },
            ],
        },

        'business-1': {
            title: 'Diversified Revenue Sources',
            sections: [
                {
                    title: 'Diversified Revenue Sources',
                    content: `FAWA's business model does not rely solely on single token value but constructs a diversified revenue system through platform applications, financial services, infrastructure, and ecological expansion, ensuring the platform's long-term sustainable development capability
                    `,
                    table: {
                        simpleHeaders: [
                            'Revenue Segment',
                            'Specific Source',
                            'Revenue Description',
                        ],
                        simpleData: [
                            [
                                'Platform Applications',
                                'Value - added services for social applications, digital identity authentication fees, NFT/IP issuance fees',
                                'Provide exclusive digital services and value realization channels for female users',
                            ],
                            [
                                'Finance & Assets',
                                'Transaction fees, RWA investment management fees, cross-border payment settlement fees',
                                'Create a global female - friendly financial gateway and improve the efficiency of asset circulation',
                            ],
                            [
                                'Depin Infrastructure',
                                'Node operation fees, storage/compute usage fees, bandwidth distribution revenue',
                                'Generate stable cash flow through the use and contribution of the infrastructure network',
                            ],
                            [
                                'Ecological Cooperation',
                                'Brand entry fees, advertising promotion, cross-border collaboration sharing',
                                "Connect women's consumer brands and users, build a Web3 women's economic ecosystem",
                            ],
                            [
                                'Capital Operation',
                                'Fund investment returns, project incubation dividends, token buyback mechanisms',
                                "Enhance the platform's capitalization ability and guarantee the long - term stable development of the ecosystem",
                            ],
                        ],
                    },
                },
                {
                    title: `Strategic Value`,
                    content: `Strong Risk Resistance: By having diversified revenue sources, it avoids over - reliance on the price fluctuations of a single token

                    Deep User Binding: Each revenue model is related to user behavior (consumption, social, investment, node contribution), enhancing user stickiness

                    Global Market Potential: As FAWA enters different regional markets, platform revenue will further diversify and possess sustainable growth momentum
                    `,
                },
            ],
        },

        'business-2': {
            title: 'Token Value Appreciation Logic',
            sections: [
                {
                    title: 'Token Value Appreciation Logic',
                    content: `The value appreciation logic of the FAWA Token does not rely solely on market speculation but forms a long-term value closed loop through ecological scenario driving + financial mechanism design + global strategy implementation
                    `,
                    table: {
                        simpleHeaders: [
                            'Appreciation Logic Segment',
                            'Mechanism and Method',
                            'Appreciation Explanation',
                        ],
                        simpleData: [
                            [
                                'Supply-Demand Balance',
                                'Fixed total issuance, released in phases with a gradual reduction in circulation',
                                "Maintaining scarcity through supply control to steadily boost the token's value",
                            ],
                            [
                                'Application Driven',
                                'Payment, NFT, RWA, Social, Depin usage',
                                'Every user interaction requires the Token, creating continuous demand - side impetus',
                            ],
                            [
                                'Governance Value',
                                'DAO voting rights and participation in community self - governance',
                                'Holding Token grants governance rights, increases long-term holding willingness',
                            ],
                            [
                                'Deflation Mechanism',
                                'Partial burn of platform fees, ecological buybacks',
                                'Continuously reduce market circulation, enhance token scarcity',
                            ],
                            [
                                'Global Expansion',
                                'International cooperation, brand entry, capital market connectivity',
                                'Platform scale and partner increase bring exponential growth in Token usage',
                            ],
                            [
                                'Investment Attribute',
                                'Linkage with US stock listing, RWA investment backing',
                                'Endow the token with real financial value, enhance long-term investment attractiveness',
                            ],
                        ],
                    },
                },

                {
                    title: `Summary of Core Logic`,
                    content: `Scarcity: Through supply control and deflationary designs, the long - term scarcity of the token is ensured

                    High-Frequency Application: The token is used in multiple scenarios like social, finance, assets, Depin, driving real demand

                    Governance Binding: DAO governance and community self - governance make the Token not only a currency but also a credential of power

                    Value Closed Loop: A portion of platform revenue flows back to the Token market, forming a "Use - Earn - Buyback - Burn" cycle

                    Capital Appreciation: In the future, as it integrates with the global capital market, the Token will be endowed with both financial and investment values
                    `,
                },
            ],
        },

        'business-3': {
            title: 'Token - Stock Linkage and Financial Innovation',
            sections: [
                {
                    title: `FAWA's goal is not merely to build a blockchain platform but to serve as a bridge between digital assets and the traditional capital market. In future development, FAWA will adopt the "token - stock linkage" model, integrating the application value of the FAWA Token with the financial value of the company's equity in the capital market, thus forming a unique two - wheel - driven mechanism`,
                },
                {
                    title: `Dual-Track Value System`,
                    content: `At the core of FAWA's design is the concept that "Tokens represent service value, and equity represents financial value"

                    On the Token level: It is used for ecological payments, governance, and incentives, driving on - chain social interactions, RWA investments, and Depin node operations

                    On the equity level: Through listing on the US stock market, it gains recognition in the traditional financial market and an increase in valuation

                    This means that FAWA's value comes not only from the application demand on the blockchain but also from the long - term recognition of the capital market
                    `,
                },

                {
                    title: `Revenue Reversion and Value Cyclic Loop`,
                    content: `FAWA will establish a "dual reinvestment mechanism"

                    Token Reinvestment: A portion of platform revenue will be regularly used for Token buyback and burn, enhancing the token's scarcity and long-term value

                    Equity Feedback: The profits generated by the listed company will be used for ecological construction and brand promotion, which in turn enriches the application scenarios of the Token

                    Through this mechanism, a mutually reinforcing value cycle will be formed between the Token and equity
                    `,
                },
                {
                    title: `Financial Product Innovation`,
                    content: `Based on Token-Equity Synergy, FAWA will launch more innovative financial products

                    On-chain Pledge + Equity Dividend: Users who pledge Tokens can obtain ecological benefits and enjoy the right to equity dividends simultaneously

                    Hybrid Investment Portfolio: Investment tools combining Token and traditional securities, lowering the barrier for female investors to enter capital markets

                    Cross-Border Payment and Settlement: Utilize Token as a payment tool, with equity backing to enhance market trust

                    It brings the trust boost from the capital market, making the Token not just a virtual asset but obtaining the value endorsement of traditional finance

                    It realizes the two - wheel drive of application value and financial value, constructing a long - term and stable appreciation logic

                    It enables female users to truly transform from consumers to investors and then to shareholders, participating in global economic governance

                    FAWA's token - stock linkage model means that it is not just a Token but a financial symbol existing both on the blockchain and in Wall Street
                    `,
                },
            ],
        },

        'strategic-1': {
            title: 'Strategic Development Roadmap',
            sections: [
                {
                    title: `FAWA's development is divided into three stages, from inception to expansion to globalization, aiming to build a truly women-led global digital civilization platform`,
                },
                {
                    title: `2025 — Launch Phase`,
                    content: `Platform Launch: Complete basic infrastructure setup, launch core functions of decentralized social, digital identity (DID), and FAWA Token

                    Community Building: Achieve the goal of building a 10 million active user digital platform through Web3 technical upgrade of Wocute

                    Compliance Foundation: the Middle East region operating entity and Singapore fund company become operational, ensuring ecological compliance and international capital connectivity

                    Depin Node Pilot: Deploy infrastructure nodes in select regions, test computing power and storage incentive mechanisms
                    `,
                },
                {
                    title: `2026–2027 — Expansion Phase`,
                    content: `User Scaling: Global active users exceed 100 million, covering the female market in Muslim countries worldwide

                    Ecological Diversification: Launch RWA investment platform, NFT digital IP marketplace, women's entrepreneurship incubator, forming a multi-scenario application closed loop

                    Financial Layout: Introduce cross-border payment and settlement functions, forming a women-friendly digital financial system centered around the FAWA Token

                    Strategic Cooperation: Establish partnerships with international brands, educational, and medical institutions, creating cross-border applications for "Web3 × Women's Economy

                    Deepen Community Governance: DAO governance mechanism gradually improves, community voting rate reaches 50%+, achieving true decentralized decision-making
                    `,
                },
                {
                    title: `2028 and Beyond — Globalization and Capitalization Phase`,
                    content: `Global Market Coverage: The number of FAWA users exceeds 300 million, reaching the core female user groups in the Middle East, Southeast Asia, Europe, and the United States

                    Breakthrough in Capital Market: Promote FAWA's entry into the US stock capital market, realize "token - stock linkage", and drive the value of tokens and equity in a two - wheeled manner

                    Cluster: Deploy nodes in multiple countries and regions, forming a global decentralized infrastructure network.

                    Industry Penetration: Promote the assetization of women-related industries like education, health, elderly care, cultural creation, building a global women's economic belt with RWA on-chain

                    Social Influence: FAWA becomes a representative platform promoting global women's empowerment and digital civilization equality, truly enabling women to move from consumers to creators and governors
                    `,
                },
            ],
        },

        'strategic-2': {
            title: 'International Expansion Strategy',
            sections: [
                {
                    title: `FAWA's international strategy is not merely about market expansion but aims to build a global ecosystem centered around women and characterized by cross - regional co - construction and sharing. This strategy will advance regionally, forming differentiated layouts based on the cultural background, regulatory environment, and women's economic characteristics of different countries and regions`,
                },
                {
                    title: `Middle East and North Africa (MENA)`,
                    content: `Strategic Status: The Middle East is undergoing economic transformation, with women's status in education, entrepreneurship, and social participation continuously rising

                    Relying on the operational entity in Dubai, it serves as the gateway for the digital economy of women in the Middle East

                    Cooperate with local women's entrepreneurship organizations and educational institutions to promote Web3 education and employment

                    Introduce FAWA Token into cross - border payments and entrepreneurial financing to address the issue of difficult access to financing for women
                    `,
                },
                {
                    title: `Southeast Asia`,
                    content: `Strategic Significance: Southeast Asia is the world's fastest-growing internet market, where women play important roles in e-commerce, social media, and digital finance

                    Establish localized social applications and communities covering high-growth countries like Indonesia, Vietnam, and the Philippines

                    Cooperate with regional brands to promote the digitization of female consumption and RWA assets

                    Leverage high mobile internet penetration to promote women-friendly wallets and financial services
                    `,
                },
                {
                    title: `Europe and North America`,
                    content: `Strategic Status: Markets with the strongest female consumption and investment power, but with a relatively low participation rate in Web3

                    Establish compliance nodes in the European and American markets to ensure alignment with local financial and regulatory systems

                    Encourage female investors to participate in DeFi, NFT, and RWA investment through FAWA

                    Collaborate with international brands to create cultural and commercial cases themed "Women × Web3"
                    `,
                },
                {
                    title: `Global Cooperation and Capital Markets`,
                    content: `Strategic Status: International capital is the core support for driving the platform's long-term development

                    Leverage the Singapore - based foundation and the global investment and financing network to attract international investment institutions and family funds to participate

                    Promote cooperation between FAWA and international organizations like the UN and World Bank to enhance the global influence of the women's economy

                    The ultimate goal is to achieve a US stock listing, constructing a Token-Equity Synergy pattern, allowing Token and equity to obtain dual value in the global capital market
                    `,
                },
                {
                    title: `Strategic Vision`,
                    content: `FAWA's international expansion is not just a business plan but a global movement centered on women's empowerment. Through regional differentiated strategy + compliant operation + international capital connectivity, FAWA will achieve the leap from a regional platform to a global women's digital civilization ecosystem within the next five years`,
                },
            ],
        },

        'strategic-3': {
            title: 'Ecological Co-construction and Cooperation',
            sections: [
                {
                    title: `FAWA believes that a single platform cannot independently shape global women's digital civilization. It must form a sustainable open ecosystem through cross-border co-construction and multi-party cooperation`,
                },
                {
                    title: `Cooperation with Brands`,
                    content: `Women's Consumer Brands: Collaborate with leading brands in fashion, beauty, health, education, etc., integrating Web3 technology with women's daily consumption scenarios

                    Digital IP Co-creation: Support brands and female creators to jointly create NFTs and digital IP, enhancing the brand's community value

                    Cross-border E-commerce and Payments: By enabling FAWA Token payments and RWA asset tokenization, lower the barriers for women in cross - border consumption and entrepreneurship
                    `,
                },
                {
                    title: `Cooperation with Institutions`,
                    content: `Financial Institutions: Collaborate with banks, funds, and investment platforms to jointly promote women-friendly financial products and investment tools

                    Educational and Medical Institutions: Transform women's needs in education, health, and career development into Web3 application scenarios, enabling the Token to generate real value in the fields of public welfare and practical use

                    Regulatory and Policy Layer: Maintain communication with governments and regulatory bodies to ensure FAWA's compliant landing in different markets
                    `,
                },
                {
                    title: `Cooperation with Communities`,
                    content: `Women's Communities: Connect with global women entrepreneurs, creators, and public welfare communities, forming a bottom-up user driving force

                    DAO Co-construction: Community members are not just users but also governors and builders, promoting continuous iteration of the ecology driven by consensus

                    Incentive Mechanism: Through token rewards, badges and honor systems, enable the community to achieve dual stickiness in terms of emotion and economy
                    `,
                },
                {
                    title: `Cooperation with NGOs and International Organizations`,
                    content: `Public Welfare Empowerment: Join hands with non-governmental organizations (NGOs) to promote issues like women's education, entrepreneurship support, anti-domestic violence, and employment equality

                    Global Initiatives: Cooperate with international organizations like UN Women and the World Bank to incorporate women's economic empowerment into the global agenda

                    Social Responsibility: While promoting commercial value, ensure FAWA bears social responsibility, shaping a unique image of "Digital Civilization × Humanistic Care"
                    `,
                },
                {
                    title: `Strategic Significance`,
                    content: `Ecological co-construction and cooperation make FAWA not just a pure blockchain project but a comprehensive platform spanning business, society, and culture

                    Enhancing the credibility of the brand and capital

                    Establish channels for user scaling and global growth

                    Promote the female economy as an important part of the global digitalization process

                    Ultimately, through cooperation, FAWA aims to integrate women's consumption power, creativity, and governance into a globally open digital civilization system
                    `,
                },
            ],
        },
    };

    const currentCard = computed(() => {
        return cardDataMap[props.cardType] || cardDataMap['card-1'];
    });

    const closeModal = () => {
        emit('close');
    };

    // 防止滚动穿透
    const preventBodyScroll = (prevent: boolean) => {
        if (prevent) {
            // 保存当前滚动位置
            const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
            // 使用requestAnimationFrame优化性能
            requestAnimationFrame(() => {
                document.body.style.overflow = 'hidden';
                // 防止iOS Safari的弹性滚动
                document.body.style.position = 'fixed';
                document.body.style.width = '100%';
                document.body.style.top = `-${scrollTop}px`;
            });
        } else {
            // 恢复滚动位置
            const scrollTop = Math.abs(parseInt(document.body.style.top || '0'));
            document.body.style.overflow = '';
            document.body.style.position = '';
            document.body.style.width = '';
            document.body.style.top = '';
            // 恢复之前的位置
            window.scrollTo(0, scrollTop);
        }
    };

    // 监听可见性变化
    watch(
        () => props.isVisible,
        newVal => {
            preventBodyScroll(newVal);
        }
    );

    // 组件卸载时恢复滚动
    onUnmounted(() => {
        preventBodyScroll(false);
    });
</script>

<style lang="scss" scoped>
    // 模态框容器
    .modal-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1000;
    }

    // 背景遮罩层
    .modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(120px);
        -webkit-backdrop-filter: blur(120px);
        animation: fadeIn 0.3s cubic-bezier(0.33, 1, 0.68, 1);
        will-change: opacity;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    // 关闭按钮 - 独立定位，不随内容滚动
    .modal-close {
        position: fixed;
        top: pxToRem(40);
        right: pxToRem(40);
        width: pxToRem(42);
        height: pxToRem(42);
        border: none;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
        z-index: 1002; // 确保在最上层
        will-change: transform;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);

        &:hover {
            background: rgba(0, 0, 0, 0.2);
            transform: scale(1.1);
        }

        .close-icon {
            width: pxToRem(24);
            height: pxToRem(24);
            object-fit: contain;
        }
    }

    // 模态框包装器 - 用于居中内容
    .modal-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start; // 改为flex-start，配合margin实现居中
        overflow-y: auto;
        padding: pxToRem(40);
        box-sizing: border-box;
    }

    // 模态框内容
    .modal-content {
        background: rgba(255, 255, 255, 0.95);
        border-radius: pxToRem(30);
        width: 100%;
        max-width: pxToRem(1326);
        position: relative;
        padding: pxToRem(49) pxToRem(63);
        backdrop-filter: blur(224.8px);
        -webkit-backdrop-filter: blur(224.8px);
        animation: fadeIn 0.3s cubic-bezier(0.33, 1, 0.68, 1);
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        will-change: opacity;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        margin: pxToRem(40) auto; // 添加上下边距，确保内容不顶边
        min-height: calc(100% - pxToRem(80)); // 调整最小高度以适应边距
    }

    .modal-header {
        margin-bottom: pxToRem(55);

        .modal-title {
            font-family: 'Figtree', sans-serif;
            font-weight: 900;
            font-size: pxToRem(42);
            line-height: 1.238;
            letter-spacing: -2.38%;
            color: #000000;
            margin: 0;
            // max-width: pxToRem(743);
            text-align: initial;
        }
    }

    .modal-body {
        .content-sections {
            display: flex;
            flex-direction: column;
            gap: pxToRem(56);
        }

        .content-section {
            background: #f6f6f6;
            border-radius: pxToRem(30);
            padding: pxToRem(50);
            backdrop-filter: blur(224.8px);
            -webkit-backdrop-filter: blur(224.8px);

            .section-header {
                margin-bottom: pxToRem(29);
                text-align: left;

                .section-title {
                    font-family: 'Figtree', sans-serif;
                    font-weight: 700;
                    font-size: pxToRem(30);
                    line-height: 1.2;
                    color: rgba(0, 0, 0, 0.9);
                    margin: 0;
                }
            }

            .section-content {
                text-align: left;
                .section-text {
                    font-family: 'Figtree', sans-serif;
                    font-weight: 400;
                    font-size: pxToRem(30);
                    line-height: 1.2;
                    color: rgba(0, 0, 0, 0.9);
                    margin: 0;
                    white-space: pre-line;
                }
            }
        }
    }

    // 动画效果
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    // 响应式设计
    // 1440px 断点
    @media (max-width: 1440px) {
        .modal-overlay {
            overflow-y: auto;
        }

        .modal-close {
            top: pxToRem(30);
            right: pxToRem(30);
            width: pxToRem(42);
            height: pxToRem(42);

            .close-icon {
                width: pxToRem(24);
                height: pxToRem(24);
            }
        }

        .modal-wrapper {
            padding: pxToRem(30);
        }

        .modal-content {
            max-width: pxToRem(1200);
            padding: pxToRem(40) pxToRem(50);
            border-radius: pxToRem(25);
            margin: 0 auto;
            min-height: 100%;
        }

        .modal-header {
            margin-bottom: pxToRem(45);

            .modal-title {
                font-size: pxToRem(36);
            }
        }

        .modal-body {
            .content-sections {
                gap: pxToRem(45);
            }

            .content-section {
                padding: pxToRem(40);
                border-radius: pxToRem(25);

                .section-header {
                    margin-bottom: pxToRem(24);

                    .section-title {
                        font-size: pxToRem(26);
                    }
                }

                .section-content {
                    .section-text {
                        font-size: pxToRem(26);
                    }
                }

                .section-table {
                    margin-top: pxToRem(30);
                    width: 100%;
                    overflow: hidden;
                }
            }
        }
    }

    // 1280px-1025px 断点
    @media (max-width: 1280px) and (min-width: 1025px) {
        .modal-overlay {
            overflow-y: auto;
        }

        .modal-close {
            top: pxToRem(35);
            right: pxToRem(35);
            width: pxToRem(42);
            height: pxToRem(42);

            .close-icon {
                width: pxToRem(24);
                height: pxToRem(24);
            }
        }

        .modal-wrapper {
            padding: pxToRem(25);
        }

        .modal-content {
            max-width: pxToRem(1000);
            padding: pxToRem(35) pxToRem(45);
            border-radius: pxToRem(22);
            margin: 0 auto;
            min-height: 100%;
        }

        .modal-header {
            margin-bottom: pxToRem(40);

            .modal-title {
                font-size: pxToRem(32);
            }
        }

        .modal-body {
            .content-sections {
                gap: pxToRem(40);
            }

            .content-section {
                padding: pxToRem(35);
                border-radius: pxToRem(22);

                .section-header {
                    margin-bottom: pxToRem(20);

                    .section-title {
                        font-size: pxToRem(24);
                    }
                }

                .section-content {
                    .section-text {
                        font-size: pxToRem(24);
                    }
                }

                .section-table {
                    margin-top: pxToRem(25);
                    width: 100%;
                    overflow: hidden;
                }
            }
        }
    }

    // 移动端适配优化
    @media (max-width: 768px) {
        .modal-overlay {
            // 移动端优化毛玻璃效果
            backdrop-filter: blur(60px);
            -webkit-backdrop-filter: blur(60px);
            // 优化移动端背景
            background: rgba(0, 0, 0, 0.6);
        }

        .modal-close {
            position: fixed;
            top: pxToRem75(30);
            right: pxToRem75(40);
            width: pxToRem75(36);
            height: pxToRem75(36);
            transition: all 0.25s cubic-bezier(0.33, 1, 0.68, 1);
            // 移动端优化按钮背景
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);

            &:hover {
                background: rgba(255, 255, 255, 0.3);
                transform: scale(1.1);
            }

            .close-icon {
                width: pxToRem75(20);
                height: pxToRem75(20);
            }
        }

        .modal-wrapper {
            padding: pxToRem75(20);
            display: block;
        }

        .modal-content {
            max-width: 90%;
            border-radius: pxToRem75(20);
            margin: 0 auto;
            min-height: 100%;
            // 移动端优化内边距和背景
            padding: pxToRem75(25);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
        }

        .modal-header {
            margin-bottom: pxToRem75(30);
            padding: 0 pxToRem75(10); // 添加水平内边距

            .modal-title {
                font-size: pxToRem75(24);
            }
        }

        .modal-body {
            .content-sections {
                gap: pxToRem75(30);
            }

            .content-section {
                padding: pxToRem75(25) pxToRem75(20); // 优化内边距
                border-radius: pxToRem75(20);
                // 移动端优化背景
                background: rgba(246, 246, 246, 0.95);

                .section-header {
                    margin-bottom: pxToRem75(16);
                    text-align: center; // 标题居中

                    .section-title {
                        font-size: pxToRem75(18);
                        line-height: 1.3;
                    }
                }

                .section-content {
                    .section-text {
                        font-size: pxToRem75(16);
                        line-height: 1.4;
                        text-align: left; // 内容左对齐
                    }
                }

                .section-table {
                    margin-top: pxToRem75(20);
                    width: 100%;
                    overflow-x: auto;
                    -webkit-overflow-scrolling: touch;

                    // 移动端滚动条样式
                    &::-webkit-scrollbar {
                        height: 4px;
                    }

                    &::-webkit-scrollbar-track {
                        background: rgba(0, 0, 0, 0.1);
                        border-radius: 2px;
                    }

                    &::-webkit-scrollbar-thumb {
                        background: rgba(0, 0, 0, 0.3);
                        border-radius: 2px;
                    }
                }
            }
        }
    }
</style>
